All this has led to an explosion of protest across China, including among a middle class that has discovered nimbyism.